<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%@ taglib uri="/mytag" prefix="yjd"%>

<div class="wrap">
	<div class="nav">
		<ul class="cc">
			<li><a href='<yjd:url url="/smscontent/list"/>'>短信记录</a></li>
			<li><a href='<yjd:url url="/smstemplate/list"/>'>短信模板</a></li>
			<li><a href="<yjd:url url="/market/forwardBatch"/>">批量发送</a></li>
			<li><a href="<yjd:url url="/market/list"/>">营销短信</a></li>
			<li class="current"><a href="#">营销短信任务</a></li>
			<li><a href="<yjd:url url="/market/channelList"/>">短信发送渠道</a></li>
			<li><a href="<yjd:url url="/marketFilter/list"/>">营销短信黑名单</a></li>
		</ul>
	</div>
	<div class="table_list">
		<c:set var="hashData"
			value="${pager.pagerModel.dataList!=null && fn:length(pager.pagerModel.dataList) >= 1 }" />
		<table width="100%">
			<thead>
				<tr>
					<td width="100">任务号</td>
					<td>任务名称</td>
					<td>内容</td>
					<td>发送数量</td>
					<td>提交时间</td>
					<td>状态</td>
					<td>发送渠道</td>
				</tr>
			</thead>
			<c:if test="${hashData }">
				<tbody id="J_word_list">
					<c:forEach items="${pager.pagerModel.dataList }" var="item">
						<tr>
							<td>${item.id }</td>
							<td>${item.title }</td>
							<td>${item.content }</td>
							<td>${item.count }</td>
							<td>${item.addtimeStr }</td>
							<td>
								<c:if test="${item.status==1}">成功</c:if>
								<c:if test="${item.status==0}">失败</c:if>
							</td>
							<td>${item.channel }</td>
						</tr>
					</c:forEach>
				</tbody>
			</c:if>
		</table>
	</div>
	<%@ include file="../../public/pager/pager.pagination.jsp"%>
</div>